#include <cstdio>
#include "vl_linked_list.h"

using namespace VL;

void printList(const SimpleLinkedList<int>& list) {
	for(auto iter : list) {
		printf("%d\n", iter);
	}
}


int main() {
	{
		SimpleLinkedList<int> list = {1, 2, 3, 4};
		auto point = list.push_back(5);
		list.push_back(6);
		printList(list);
		list.pop_position(point);
		printList(list);
	}
	return 0;
}